package net.itfenxiang.mybatisplus.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.AllArgsConstructor;
import net.itfenxiang.mybatisplus.entity.WithdrawRecord;
import net.itfenxiang.mybatisplus.dao.WithdrawRecordMapper;
import net.itfenxiang.mybatisplus.service.IWithdrawRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户提现记录 服务实现类
 * </p>
 *
 * @author author
 * @since 2024-04-29
 */
@Service
@AllArgsConstructor
public class WithdrawRecordServiceImpl extends ServiceImpl<WithdrawRecordMapper, WithdrawRecord> implements IWithdrawRecordService {

    private final WithdrawRecordMapper recordMapper;
    @Override
    public Page<WithdrawRecord> page() {
        Page<WithdrawRecord> page = new Page();

        recordMapper.selectPage(page, null);
        System.out.println(page);
        return page;
    }
}
